home *** CD-ROM | disk | FTP | other *** search
/ The Mac 13 / the-mac-13.iso / Shareware City / Demos / TextPak Demo / Text Items / Formatting Text < prev    next >
Encoding:
Text File  |  1995-03-02  |  1.3 KB  |  6 lines  |  [TEXT/MPS ]

  1. {Heading 1}Formatting Text
  2. {Body Text}TextPak allows you to specify the format of text through the use of styles and {In Glossary}Style Definition Files{Body Text}. Once a style is defined, you can mark any section of text with that style, by embedding the style name directly in the text. Each style can take the following attributes:
  3. {Bulleted List}Font Name{Bulleted List}Font Size{Bulleted List}Font Style: the standard Mac font styles: normal, italic, bold...{Bulleted List}Anti-aliased: should the text be aliased or anti-aliasied?{Bulleted List}Colour: both foreground and background colours can be specified{Bulleted List}Prefix: a string is prefixed to the text (used to produce these bullet points){Bulleted List}Hotspot: is the text a glossary/hyperlink{Bulleted List}Major Style: flag if the text should start on a new line or not
  4.  
  5. {Body Text}You can set any of these attributes to -1. In this case, TextPak maintains the value, for that attribute, of the last piece of text it rendered.
  6. {Body Text}Using this facility, you can apply limited style changes within a run of text. For example, the {Emphasise}Emphasise{Body Text} style changes the font style to bold, leaving the other attributes intact. This means you can emphasise both a heading and body text using the same style.